﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ReportPatronHistoryBooksReserved.aspx.cs" Inherits="PatronHistoryBooksReserved" Title="Untitled Page" %>

<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>

<asp:Content ID="Content1" ContentPlaceHolderID="leftSide" Runat="Server" Visible="false">
    <asp:Button ID="btnMyAccount" runat="server" Text="Return to My Account" 
        onclick="btnMyAccount_Click" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="center" Runat="Server">
    <asp:Label ID="lblPatron" runat="server" Text="" Visible="false"></asp:Label>
    <br />
    <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" 
        Font-Size="8pt" Height="400px" Width="674px">
        <LocalReport ReportPath="MRPatronHistoryBooksReserved.rdlc">
            <DataSources>
                <rsweb:ReportDataSource DataSourceId="ObjectDataSource1" 
                    Name="PatronHistoryBooksReserved_REPORT_PatronBooksReservedHistory" />
            </DataSources>
        </LocalReport>
    </rsweb:ReportViewer>
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
        OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" 
        TypeName="PatronHistoryBooksReservedTableAdapters.REPORT_PatronBooksReservedHistoryTableAdapter">
        <SelectParameters>
            <asp:ControlParameter ControlID="lblPatron" Name="personID" PropertyName="Text" 
                Type="Int32" />
        </SelectParameters>
    </asp:ObjectDataSource>
    <br />
</asp:Content>

